package com.example.demo.sys.dao;

import com.example.demo.sys.entity.User;

import java.util.List;

import com.example.demo.sys.entity.UserFull;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    User findById(Long id);
    void saveUser(User user);
    void updateUser(User user);

    User findByUsernamePassword(String username, String password);
	List<UserFull> getAll();

    User checkUsernameUnique(User user);

    User findByUsername(User user);

    void deleteByIds(List<String> ids);
}
